﻿@model Alma.Models.EmptyUser

@{
    ViewContext.Controller.ViewBag.Breadcrumb.Enter("Inscription");
}
<div class="fullcol">
<h1>Inscription</h1>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <dl>
            <dt>
        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div></dt><dd>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
        </dd>
        <dt>
        <div class="editor-label">
            @Html.LabelFor(model => model.Firstname)
        </div>
        </dt><dd>
        <div class="editor-field">
            @Html.EditorFor(model => model.Firstname)
            @Html.ValidationMessageFor(model => model.Firstname)
        </div>
        </dd>
        <dt>
        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        </dt>
        <dd>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>
        </dd>
        <dt>
        <div class="editor-label">
            @Html.LabelFor(model => model.Address)
        </div>
        </dt><dd>
        <div class="editor-field">
            @Html.EditorFor(model => model.Address)
            @Html.ValidationMessageFor(model => model.Address)
        </div>
        </dd>
        <dt>
        <div class="editor-label">
            @Html.LabelFor(model => model.Zipcode)
        </div></dt><dd>
        <div class="editor-field">
            @Html.EditorFor(model => model.Zipcode)
            @Html.ValidationMessageFor(model => model.Zipcode)
        </div>
        </dd>
        <dt>
        <div class="editor-label">
            @Html.LabelFor(model => model.Town)
        </div>
        </dt>
        <dd>
        <div class="editor-field">
            @Html.EditorFor(model => model.Town)
            @Html.ValidationMessageFor(model => model.Town)
        </div>
        </dd>
        <dt>
        <div class="editor-label">
            @Html.LabelFor(model => model.Country)
        </div>
        </dt>
        <dd>
        <div class="editor-field">
            @Html.EditorFor(model => model.Country)
            @Html.ValidationMessageFor(model => model.Country)
        </div>
        </dd>
        </dl>
        <p>
            <input type="submit" value="S'inscrire" />
        </p>
}
</div>
